package com.dcrzl.gazgmh.common.entity.sys;

import com.baomidou.mybatisplus.annotation.*;
import com.dcrzl.gazgmh.common.utils.BaseEntity;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;


/**
 * @author dcrzl
 * @email 1728795786@qq.com
 * @date 2025-01-21 10:52:01
 */
@Data
@TableName("t_sys_config")
@Accessors(chain = true)
public class SysConfig extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *
     */

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;
    /**
     * 用户密码有效期
     */
    @TableField(value = "password_valid_day")
    private Integer passwordValidDay;
    /**
     * 会话时间
     */
    @TableField(value = "session_time")
    private Integer sessionTime;

    @TableField(value = "error_time")
    private Integer errorTime;
    /**
     *
     */
    @TableField(value = "status", fill = FieldFill.INSERT)
    private Integer status;
    /**
     *
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;
    /**
     *
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

}
